package com.lh.util.service.impl;

import com.lh.util.dao.Vertex;
import com.lh.util.mapper.vertexMapper;
import com.lh.util.service.vertexService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class vertexServiceImpl implements vertexService {

    @Autowired
    private vertexMapper vertexMapper;

    @Override
    public List<Vertex> listAllVertex() {
        return vertexMapper.listAllVertex();
    }

    @Override
    public int newCityInfo(Vertex vertex){return vertexMapper.newCityInfo(vertex);}
}
